#pragma once
class CFilyOpenCV
{
public:
	CFilyOpenCV(void);
	virtual ~CFilyOpenCV(void);
	// GetImageROI
	static void GetImageROI(IplImage* src, IplImage* mask, IplImage* desc);
	static void GetImageROI(IplImage* src, CvScalar color,int difference, IplImage* desc);
	static void GetImageROI(IplImage* src, CvPoint point,int difference, IplImage* desc);
	static void GetPointByColor(CvScalar color,int &max,int &min,int difference);
	static int GetPointByColor(CvScalar color,int difference);
	static CvScalar GetImageByPoint(IplImage* src, CvPoint point);
};

